import request from '@/utils/request'

// 查询全部实验数据列表
export function listExperimentDatasView(query) {
  return request({
    url: '/ruoyiyinzheng/experimentDatasView/list',
    method: 'get',
    params: query
  })
}

// 查询全部实验数据详细
export function getExperimentDatasView(id) {
  return request({
    url: '/ruoyiyinzheng/experimentDatasView/' + id,
    method: 'get'
  })
}

// 新增全部实验数据
export function addExperimentDatasView(data) {
  return request({
    url: '/ruoyiyinzheng/experimentDatasView',
    method: 'post',
    data: data
  })
}

// 修改全部实验数据
export function updateExperimentDatasView(data) {
  return request({
    url: '/ruoyiyinzheng/experimentDatasView',
    method: 'put',
    data: data
  })
}

// 删除全部实验数据
export function delExperimentDatasView(id) {
  return request({
    url: '/ruoyiyinzheng/experimentDatasView/' + id,
    method: 'delete'
  })
}


export function selectColorschemeName(ColorSchemeName) {
  return request({
    url: '/ruoyiyinzheng/experimentDatasView/colorschemename/' + ColorSchemeName,
    method: 'get'
  })
}

export function selectRecieptname(RecieptName) {
  return request({
    url: '/ruoyiyinzheng/experimentDatasView/recieptname/' + RecieptName,
    method: 'get'
  })
}
